package com.file.config;


import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: stefanie-zy
 * @time: 2024/1/26-16:01
 * @description: Knife4j接口文档配置
 */
@Configuration
public class Knife4jConfig {
    @Bean
    public OpenAPI springShopOpenApi() {
        return new OpenAPI().info(new Info().title("Stefanie").description("Stefanie Interface Documents").version("Version:v1.0").contact(new Contact().name("Stefanie-Zy").email("1342186001@qq.com")));

    }
}
